//
//  rubyModel.h
//  itboye2015002
//
//  Created by pro on 15/12/29.
//  Copyright © 2015年 Boye. All rights reserved.
//

#import "BaseModel.h"

/*
 "nickname": "老胖子何必都",
 "use_status": "0",   //是否已经使用了红包，0 未使用，1: 已使用
 "uid": "114",
 "get_time": "1451270835",
 "notes": "发给你一个红包", //红包备注
 "id": "1",     //红包ID
 "dtree_type_name": "邀请别人注册时送红包",
 "dtree_type": "6014",
 "use_condition": "0", //使用条件，订单满多少才能用，0时 无条件.
 "tpl_status": "1",
 "expire_time": "2147483647",  //过期时间，时间戳，大于当前时间10年以上 表示无限期
 "money": "2.00", //可抵扣金额
 "tpl_notes": "" //红包模版备注
 */

@interface RubyModel : BaseModel

@property (nonatomic, copy) NSString *use_status;       // 使用状态
@property (nonatomic, copy) NSString *uid;              // 用户id
@property (nonatomic, copy) NSString *get_time;         // 获得时间
@property (nonatomic, copy) NSString *notes;            // 备注
@property (nonatomic, copy) NSString *ruby_id;          // 红包id
@property (nonatomic, copy) NSString *use_condition;    // 使用限制（满多少可用）
@property (nonatomic, copy) NSString *expire_time;      // 过期时间
@property (nonatomic, copy) NSString *money;            // 红包金额
@property (nonatomic, copy) NSString *name;             // 红包名字


/*
 "expire_time" = 31536000;
 "get_time" = 1458012714;
 id = 147;
 money = "50.00";
 notes = "\U81f3\U5c11\U6d88\U8d39100";
 "tpl_id" = 3;
 uid = 21;
 "use_condition" = 0;
 "use_status" = 0;
 name = "\U6ce8\U518c\U900110\U5143\U7ea2\U5305";
 */
@end
